import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/schedLogin/AdminLogin',
    method: 'post',
    data
  })
}

export function getInfo(data) {
  return request({
    url: '/schedLogin/getInfo',
    method: 'post',
    data
  })
}

export function logout() {
  return request({
    url: '/vue-element-admin/user/logout',
    method: 'post'
  })
}

export function resetPassword(data) {
  return request({
    url: '/SchedAdminuser/reset_password',
    method: 'post',
    data
  })
}

export function dbiglogin(data) {
  return request({
    url: '/login/card_login',
    method: 'post',
    data
  })
}

export function getInfoBrand(data) {
  return request({
    url: '/SchedLogin/getInfoBrand',
    method: 'post',
    data
  })
}

